#ifndef FRMLOGON_H
#define FRMLOGON_H
#include "UsedHead.h"
#include "userlist.h"
#include "user.h"
#include <QMainWindow>

namespace Ui {
class frmLogon;
}

class frmLogon : public QMainWindow
{
    Q_OBJECT

public:
    explicit frmLogon(QWidget *parent = nullptr);
    ~frmLogon();

private slots:
    void on_btnClose_clicked();

    void on_btnLogon_clicked();

private:
    bool judge(string name, string password);
    Ui::frmLogon *ui;
};

#endif // FRMLOGON_H
